package com.coldwindblows.blog.utils.backup;

import java.util.ArrayList;

public class FKCollection extends ArrayList<FK> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public boolean isReferenced(Table referenceTable) {
		for(FK fk : this) {
			if(fk.getReferenceTable().equals(referenceTable)) {
				return true;
			}
		}
		return false;
	}
}
